package com.test.action;

import java.util.Date;
import com.test.bean.Point;

public class ConvertAction
{
	private String username;
	
	private int age;
	
	private Date birthday;
	
	private Point point;

	public String getUsername()
	{
		return username;
	}

	public void setUsername(String username)
	{
		this.username = username;
	}

	public int getAge()
	{
		return age;
	}

	public void setAge(int age)
	{
		this.age = age;
	}

	public Date getBirthday()
	{
		return birthday;
	}

	public void setBirthday(Date birthday)
	{
		this.birthday = birthday;
	}
	
	public String execute() throws Exception
	{
		System.out.println("ConvertAction execute ...");
		
		return "success";
	}
	
	public String myFunc() throws Exception
	{	
		System.out.println("ConvertAction myFunc ...");
		
		return "success";
	}

	public Point getPoint()
	{
		return point;
	}

	public void setPoint(Point point)
	{
		this.point = point;
	}
}
